<cfinvoke component="cfcs.blog" method="getcategories" returnvariable="qcats" />
<cfparam name="cid" default="0">
<cfset cid_list = replace(cid, ",", "|", "ALL")>
<cfset cid_list = "|#cid_list#|">
<select name="cid" size="8" multiple="multiple" id="cid">
	<option value="0" <cfif cid IS 0>selected="selected"</cfif>>None</option>
	<cfloop query = "qcats">
	<cfoutput><option value = "#id#" <cfif cid_list CONTAINS '|#id#|'>selected="selected"</cfif>>#cname#</option></cfoutput>
	</cfloop>
</select>